package com.ztsjglxt.utils;

public class PageUtil {
	private Integer page;
	private String search;
	private String order;
	private String sortspecies="asc";
	private Integer curpage;
	private Integer rows;
	public Integer getPage() {
		return page;
	}
	public void setPage(Integer page){
		this.page = (curpage-1)*rows;
	}
	public String getSearch() {
		return search;
	}
	public void setSearch(String search) {
		this.search = search;
	}
	public String getOrder() {
		return order;
	}
	public void setOrder(String order) {
		this.order = order;
	}
	public String getSortspecies() {
		return sortspecies;
	}
	public void setSortspecies(String sortspecies) {
		this.sortspecies = sortspecies;
	}
	public Integer getCurpage() {
		return curpage;
	}
	public void setCurpage(Integer curpage) {
		this.curpage = curpage;
	}
	public Integer getRows() {
		return rows;
	}
	public void setRows(Integer rows) {
		this.rows = rows;
	}
	
}
